<div class="modal-content">
  <div class="modal-header">
    <h4 class="modal-title" >修改</h4>
    <button type="button" class="close" data-dismiss="modal" aria-label="Close">
      <span aria-hidden="true">×</span>
    </button>
  </div>
  <div class="modal-body">
  	<div class="form-group row">
        <label class="col-sm-2 col-form-label">排序：</label>
        <div class="col-sm-10">
        	<input ng-model="form.sort" type="text" class="form-control"/>
        </div>
    </div>
   	<div class="form-group row">
        <label class="col-sm-2 col-form-label">名称：</label>
        <div class="col-sm-10">
        	<input ng-model="form.name" type="text" class="form-control" form-check="must" form-check-alert="名称不能为空" />
        </div>
    </div>
	<div class="form-group row">
		<label class="col-sm-2 col-form-label">地址：</label>
		<div class="col-sm-10">
			<input ng-model="form.url" type="text" class="form-control" form-check="must,url" form-check-alert="请填写正确的网址"/>
		</div>
	</div>
	<div class="form-group row">
           <label class="col-sm-2 col-form-label">图标地址：</label>
           <div class="col-sm-8">
               <input type="text" class="form-control" ng-model="form.icon" form-check="must" form-check-alert="请上传图标"/>
           </div>
           <div class="col-sm-2">
               <form class="form-horizontal uploadForm" id="uploadForm" enctype="multipart/form-data">
                   <button class="btn btn-outline-primary br2" style="width: 112px;margin-left:0px;">
                       <i class="iconfont icon-upload1"></i><input type="file" id="uploadFile" class="file_input" name="mFileName" accept="{{form.accept}}">
                      	 上传图片
                   </button>
               </form>
           </div>
       </div>
  </div>
   <div class="modal-footer">
     <button ng-click="saveForm()" type="button" class="btn btn-success"><i class="iconfont icon-correct"></i>&nbsp;保存</button>
  </div>
</div>